package com.zuoye.zuoye4;

public class Housecar extends Car{
    private String name;

    public Housecar(String name) {
        this.name = name;
    }

    public Housecar(String model, String plate, String name) {
        super(model, plate);
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
